'Declaration
Public Overloads Function GetValueAsEnum(Of T As {New, Enum, Struct})( _ ByVal defaultValue As T _ ) As T
public T GetValueAsEnum<T>( T defaultValue ) where T: new(), Enum, struct
public: T^ GetValueAsEnumgeneric<typename T> ( T^ defaultValue ) where T: gcnew(), Enum, value class
Parameters
- defaultValue
Type Parameters
- T